package org.ibase4j.model.sys;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import org.ibase4j.core.base.AppBaseModel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 二维码场景表
 * </p>
 *
 * @author zoyee
 * @since 2018-08-06
 */
@ApiModel("二维码场景表")
@TableName("barcode_scene")
@SuppressWarnings("serial")
public class BarcodeScene extends AppBaseModel {

    @ApiModelProperty(value = "场景ID")
	@TableField("scene_id")
	private String sceneId;
	
    @ApiModelProperty(value = "场景类型")
	@TableField("scene_type")
	private Integer sceneType;
	
    @ApiModelProperty(value = "扫码次数限制")
	@TableField("scan_limit")
	private Long scanLimit;
	
    @ApiModelProperty(value = "扫码角色限制")
	@TableField("scan_user_role")
	private Long scanUserRole;
	
    @ApiModelProperty(value = "二维码时效")
	@TableField("valid_date_time")
	private Date validDateTime;
	
    @ApiModelProperty(value = "返回的数据")
	@TableField("return_data")
	private String returnData;
	
    @ApiModelProperty(value = "跳转的页面链接")
	@TableField("redirect_url")
	private String redirectUrl;
	
    @ApiModelProperty(value = "跳转的小程序页面")
	@TableField("redirect_page")
	private String redirectPage;
	
    @ApiModelProperty(value = "业务操作类")
	private String operation;
	
    @ApiModelProperty(value = "场景数据")
	private String data;
	
    @ApiModelProperty(value = "扫码次数统计")
	@TableField("scan_count")
	private Long scanCount;
	
    @ApiModelProperty(value = "条码图片地址")
	@TableField("line_barcode")
	private String lineBarcode;
	
    @ApiModelProperty(value = "微信二维码图片地址")
	@TableField("wx_qrcode")
	private String wxQrcode;
	
    @ApiModelProperty(value = "普通链接二维码图片地址")
	private String qrcode;
	


	public String getSceneId() {
		return sceneId;
	}

	public void setSceneId(String sceneId) {
		this.sceneId = sceneId;
	}

	public Integer getSceneType() {
		return sceneType;
	}

	public void setSceneType(Integer sceneType) {
		this.sceneType = sceneType;
	}

	public Long getScanLimit() {
		return scanLimit;
	}

	public void setScanLimit(Long scanLimit) {
		this.scanLimit = scanLimit;
	}

	public Long getScanUserRole() {
		return scanUserRole;
	}

	public void setScanUserRole(Long scanUserRole) {
		this.scanUserRole = scanUserRole;
	}

	public Date getValidDateTime() {
		return validDateTime;
	}

	public void setValidDateTime(Date validDateTime) {
		this.validDateTime = validDateTime;
	}

	public String getReturnData() {
		return returnData;
	}

	public void setReturnData(String returnData) {
		this.returnData = returnData;
	}

	public String getRedirectUrl() {
		return redirectUrl;
	}

	public void setRedirectUrl(String redirectUrl) {
		this.redirectUrl = redirectUrl;
	}

	public String getRedirectPage() {
		return redirectPage;
	}

	public void setRedirectPage(String redirectPage) {
		this.redirectPage = redirectPage;
	}

	public String getOperation() {
		return operation;
	}

	public void setOperation(String operation) {
		this.operation = operation;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public Long getScanCount() {
		return scanCount;
	}

	public void setScanCount(Long scanCount) {
		this.scanCount = scanCount;
	}

	public String getLineBarcode() {
		return lineBarcode;
	}

	public void setLineBarcode(String lineBarcode) {
		this.lineBarcode = lineBarcode;
	}

	public String getWxQrcode() {
		return wxQrcode;
	}

	public void setWxQrcode(String wxQrcode) {
		this.wxQrcode = wxQrcode;
	}

	public String getQrcode() {
		return qrcode;
	}

	public void setQrcode(String qrcode) {
		this.qrcode = qrcode;
	}

}